package it.uniroma3.dia.ia.textcategorization.categorizer;

import it.uniroma3.dia.ia.textcategorization.model.Text;

/**
 * 
 * This is the interface for the objects responsible to
 * preprocess a Text instance, performing operations like
 * stemming, stop words removal, etc..
 * 
 * @author Marco Liceti
 *
 */
public interface TextPreprocessor {
	
	/**
	 * 
	 * Preprocesses a Text instance.
	 * 
	 * @param text the Text instance to be preprocessed.
	 * @return The preprocessed Text instance.
	 */
	Text preprocess(Text text);

}
